<template>
  <div>
    <h2>我是父组件</h2>
    <!-- <MySon :value="msg" @input="msg = $event"/> -->
    <MySon v-model="msg"/>
  </div>
</template>

<script>
import MySon from './components/MySon.vue'
export default {
  components: {
    MySon,
  },
  data() {
    return {
      msg:100,
    }
  },
  methods: {
    // work(e){
    //   this.msg = e+=1
    // },
  },
}
</script>

<style scoped></style>